package com.example.expresscheck.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;


public class ExpressSeachHostoryDBHelper extends SQLiteOpenHelper {

	
	public ExpressSeachHostoryDBHelper(Context context) {
		super(context, "ExpressSeachHostoryDB.db", null, 1);
	}

	@Override
	public void onCreate(SQLiteDatabase db) {
		db.execSQL("create table table_ExpressSeachHostory ("
				+ "express_company varchar(20),"
				+ "express_number varchar(20) primary key,"
				+ "remark varchar(20),"
				+ "isListen integer,"
				+ "lastDynamic varchar(20),"
				+ "info varchar(20))");
	}

	@Override
	public void onUpgrade(SQLiteDatabase arg0, int arg1, int arg2) {
		// TODO Auto-generated method stub
		
	}

}
